
<style type="text/css">
#cloud_tag {
	margin:2px;
    width:210px;
    overflow: auto;
}
#cloud_tag li{
	float:left;
        list-style:none;
        font:Arial, Helvetica, sans-serif;
        margin-left:5px;
}
</style>
<ul id='cloud_tag'>
	<?php if(isset($tags)){?>
		<?foreach ($tags as $value) {?>
			<li style='font-size:<?=(11 + intval($value['count']))?>px'>
				<a title="количество материалов: <?=$value['count'];?>" href='/main/show_news_by_tags?<?=$value['tag_id'];?>'>
				<?=htmlspecialchars($value['name'])?></a></li>
		<?}?>
	<?}?>
</ul>
